
<%@ page language="java" %>

<%@ page import="com.scalar.chiptrack.users.User,
                 com.scalar.chiptrack.users.UserGroup,
                 com.scalar.chiptrack.commons.SessionKeys,
                  com.scalar.chiptrack.utils.ConfigManager"%>
<%@ page import="com.scalar.chiptrack.commons.Constants" %>

<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<chiptrack:checkLogon sourcePage="/jsp/admin/admin.jsp"/>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type="text/css" rel="stylesheet">

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>

<script src="<%=chipTracContext%>/jsp/includes/scripts/functions.js">
</script>
<SCRIPT language="JavaScript" src="<%=chipTracContext%>/jsp/includes/scripts/validations.js">
</script>

<SCRIPT language="javascript">

var dateElement = "";
function openCalendar(dateValue)
{
    dateElement = dateValue;

    newWindow = window.open('<%=chipTracContext%>/jsp/includes/calendar.html','optionsPopup','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=no,scrollbars=no,width=180,height=440,resizable=no');
    newWindow.moveTo(550,180);
    newWindow.focus();
}

function assignDate(passedValue)
{
    dateElement.value=passedValue;
    window.focus();
}


function saveJobSchedule(){

    var pa = document.getElementById("message");
    var startDate = document.systemJobSetupForm['job.startDate'].value;
    var endDate = document.systemJobSetupForm['job.endDate'].value;
    var frequencyInHours = document.systemJobSetupForm['job.frequencyInHours'].value;
    var frequencyInMinutes = document.systemJobSetupForm['job.frequencyInMinutes'].value;


    if ( chkDate ( startDate , 'Start Date ' , 'Y' ) == false ){
          pa.innerHTML = errMsg;
          document.systemJobSetupForm['job.startDate'].focus();
          return;
    }

    if ( endDate != "" )
    {
        if ( chkDate ( endDate , 'End Date ' , 'Y' ) == false ){
              pa.innerHTML = errMsg;
              document.systemJobSetupForm['job.endDate'].focus();
              return;
        }
    }

    if ( endDate != "" )
    {
        if( CompareDate( startDate, endDate ) == false ) {
            pa.innerHTML = "<li> End Date cannot be less than Start Date";
            document.systemJobSetupForm['job.startDate'].select();
            document.systemJobSetupForm['job.startDate'].focus();
            return;
        }
    }

    var scheduleDayChecked = false;
    if ( document.systemJobSetupForm['job.occurs'][1].checked ) //Weekly is selecte
    {
        for ( i=0; i < document.systemJobSetupForm['job.selectedWeekDays'].length; i++ )
        {
            if ( document.systemJobSetupForm['job.selectedWeekDays'][i].checked )
            {
                scheduleDayChecked = true;
            }
        }
        if ( scheduleDayChecked == false )
        {
            pa.innerHTML = "<li> Please Select Schedule Day ";
            return
        }
     }


    if( frequencyInHours != '')
    {
        if(checkInteger(frequencyInHours,'Frequency','N') == false)
        {
            pa.innerHTML = "<li> Please Enter Valid Frequency in hours";
            return;
        }
    }

    if( frequencyInMinutes != '')
    {
        if(checkInteger(frequencyInMinutes,'Frequency','N') == false)
        {
            pa.innerHTML = "<li> Please Enter Valid Frequency in Minutes";
            return;
        }
    }

    if ( document.systemJobSetupForm['job.repeatTask'].checked && (frequencyInHours <= 0) && (frequencyInMinutes <= 0) )
    {
        pa.innerHTML = "<li> Please Enter Frequency Greater than Zero ";
        return;
    }

    //Email Validatioln 03-Aug-2004
    if(commaEmailValidate(document.systemJobSetupForm['job.emails'].value)==false)
    {
         //document.sendAckMailForm.txtErrMsg.value="Enter valid email address : " + errMsgL;
         //document.sendAckMailForm.toUsers.focus();

         pa.innerHTML = "<li> Enter valid email address : " + errMsgL;
         return;
    } /*
    else
    {
        document.sendAckMailForm.txtErrMsg.value="";
        return true;
    }   */

    document.systemJobSetupForm.action="<%=chipTracContext%>/systemJobSetup.do?action=saveJobSchedule" ;
    document.systemJobSetupForm.submit();
}

//Email Validatioln 03-Aug-2004
var errMsgL="";
function commaEmailValidate(emailsSeperateWithCommas)
{
    errMsgL="";
    errMsg="";
	var emailAry = emailsSeperateWithCommas.split(",");
	for(var x=0;x<emailAry.length;x++)
	{
        var str=emailAry[x].replace(/^\s+/,'').replace(/\s+$/,'');
        if( str.length > 0 )
        {
            errMsg="";
           if( !ValidEMail(str) )
            {
                errMsgL=errMsgL + str + " , ";
            }
        }
	}
    if( errMsgL == "")
    {
	    return true;
    }
    else
    {
        if( errMsgL.length > 2 )
        {
            errMsgL=errMsgL.substring(0,errMsgL.length-2);
        }
        return false;
    }
}



function validateRepeatTask()
{
    if ( document.systemJobSetupForm['job.repeatTask'].checked )
    {
        document.systemJobSetupForm['job.frequencyInHours'].disabled = false;
        document.systemJobSetupForm['job.frequencyInMinutes'].disabled = false;
    }
    else
    {
        document.systemJobSetupForm['job.frequencyInHours'].value = 0;
        document.systemJobSetupForm['job.frequencyInHours'].disabled = true;

        document.systemJobSetupForm['job.frequencyInMinutes'].value = 0;
        document.systemJobSetupForm['job.frequencyInMinutes'].disabled = true;
    }
    return;
}

function onLoadFunction()
{
    if ( (document.systemJobSetupForm['job.frequencyInHours'].value > 0) || (document.systemJobSetupForm['job.frequencyInMinutes'].value > 0))
    {

        document.systemJobSetupForm['job.repeatTask'].checked = true;
        document.systemJobSetupForm['job.frequencyInHours'].disabled = false;
        document.systemJobSetupForm['job.frequencyInMinutes'].disabled = false;
    }
    else
    {
        document.systemJobSetupForm['job.repeatTask'].checked = false;
        document.systemJobSetupForm['job.frequencyInHours'].disabled = true;
        document.systemJobSetupForm['job.frequencyInMinutes'].disabled = true;
    }

    var scheduleDayChecked = false;
    for ( i=0; i < document.systemJobSetupForm['job.selectedWeekDays'].length; i++ )
    {
        if ( document.systemJobSetupForm['job.selectedWeekDays'][i].checked )
        {
            scheduleDayChecked = true;
        }
    }
    if ( scheduleDayChecked == false )
    {
       document.systemJobSetupForm['job.selectedWeekDays'][document.systemJobSetupForm['job.selectedWeekDays'].length -1].checked = true;
    }
    occursValidation ()
}


function occursValidation ()
{
    if ( document.systemJobSetupForm['job.occurs'][0].checked )      //Daily is selected
    {
        document.systemJobSetupForm['job.everyDaily'].disabled = false;
        document.systemJobSetupForm['job.everyWeekly'].disabled = true;
        for ( i=0; i < document.systemJobSetupForm['job.selectedWeekDays'].length; i++ )
        {
            document.systemJobSetupForm['job.selectedWeekDays'][i].checked = false;
            document.systemJobSetupForm['job.selectedWeekDays'][i].disabled = true;
        }
        document.systemJobSetupForm['job.everyDay'].disabled = true;
        document.systemJobSetupForm['job.everyMonthly'].disabled = true;
    }
    else if ( document.systemJobSetupForm['job.occurs'][1].checked ) //Weekly is selecte
    {
        document.systemJobSetupForm['job.everyDaily'].disabled = true;
        document.systemJobSetupForm['job.everyWeekly'].disabled = false;
        for ( i=0; i < document.systemJobSetupForm['job.selectedWeekDays'].length; i++ )
        {
            document.systemJobSetupForm['job.selectedWeekDays'][i].disabled = false;
        }
        document.systemJobSetupForm['job.everyDay'].disabled = true;
        document.systemJobSetupForm['job.everyMonthly'].disabled = true;
    }
    else if ( document.systemJobSetupForm['job.occurs'][2].checked ) //Monthly is selecte
    {
        document.systemJobSetupForm['job.everyDaily'].disabled = true;
        document.systemJobSetupForm['job.everyWeekly'].disabled = true;
        for ( i=0; i < document.systemJobSetupForm['job.selectedWeekDays'].length; i++ )
        {
            document.systemJobSetupForm['job.selectedWeekDays'][i].checked = false;
            document.systemJobSetupForm['job.selectedWeekDays'][i].disabled = true;
        }
        document.systemJobSetupForm['job.everyDay'].disabled = false;
        document.systemJobSetupForm['job.everyMonthly'].disabled = false;
    }
    return;
}

function showUsersMailIds()
{
    //var salesOrderId = 25;//document.sendAckMailForm.salesOrderId.value;
    //newWindow = window.open ('sendAckMail.do?action=showContactPersonDetails&salesOrderId='+salesOrderId,'optionsPopup1','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=yes,scrollbars=yes,width=500,height=500,resizable=no');
    newWindow = window.open ('systemJobSetup.do?action=showUserMailIDs','optionsPopup1','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=yes,scrollbars=yes,width=600,height=550,resizable=no');
    newWindow.focus();
}
function showJobEmailUsers()
{        
    newWindow = window.open ('systemJobSetup.do?action=showJobEmailUsers&job.id='+document.systemJobSetupForm['job.id'].value,'optionsPopup2','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=yes,scrollbars=yes,width=600,height=550,resizable=no');
    newWindow.focus();
}

</script>
<%
    java.util.ArrayList hoursList = new java.util.ArrayList();
    for(int i= 1; i <= 12; i++)
    {
        //hoursList.add(new org.apache.struts.util.LabelValueBean( i+".00",i+""  ));
        hoursList.add(new org.apache.struts.util.LabelValueBean( i + "", i + ""  ));
    }
    pageContext.setAttribute("scheduleTimes", hoursList);

    java.util.ArrayList minutesList = new java.util.ArrayList();
    String minutes = null;
    for(int i= 0; i <= 59; i++)
    {
        if ( ( i >= 0 ) && ( i <= 9 ) )
        {
            minutes = "0" + i;
        }
        else
        {
            minutes = i + "";
        }
        minutesList.add(new org.apache.struts.util.LabelValueBean( minutes, minutes ) );
    }
    pageContext.setAttribute("scheduleMinutes", minutesList);

    java.util.ArrayList am_pmList = new java.util.ArrayList();
    am_pmList.add(new org.apache.struts.util.LabelValueBean("AM", java.util.Calendar.AM + ""));
    am_pmList.add(new org.apache.struts.util.LabelValueBean("PM", java.util.Calendar.PM + ""));
    pageContext.setAttribute("ampm", am_pmList);

    java.util.ArrayList everyList = new java.util.ArrayList();
    for(int i= 1; i <= 366; i++)
    {
        everyList.add(new org.apache.struts.util.LabelValueBean(i + "", i + ""));
    }
    pageContext.setAttribute("everyCollection", everyList);

    java.util.ArrayList everyWeekList = new java.util.ArrayList();
    for(int i= 1; i <= 52; i++)
    {
        everyWeekList.add(new org.apache.struts.util.LabelValueBean(i + "", i + ""));
    }
    pageContext.setAttribute("everyWeekCollection", everyWeekList);

    java.util.ArrayList everyMonthList = new java.util.ArrayList();
    for(int i= 1; i <= 12; i++)
    {
        everyMonthList.add(new org.apache.struts.util.LabelValueBean(i + "", i + ""));
    }
    pageContext.setAttribute("everyMonthCollection", everyMonthList);

    java.util.ArrayList dayList = new java.util.ArrayList();
    for(int i= 1; i <= 31; i++)
    {
        dayList.add(new org.apache.struts.util.LabelValueBean(i + "", i + ""));
    }
    pageContext.setAttribute("dayCollection", dayList);


%>

<BODY bgColor="#ffffff" leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" onload="javascript:onLoadFunction();">
<!-- Top Header Start-->
<%@include file="/jsp/includes/header.jsp"  %>
<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border="0">
  <TBODY>
  <TR>
	<td width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->
<%@ include file="/jsp/admin/admin_menu.jsp" %>
<!-- end of the side navigations -->
</TD>

<TD bgcolor="#ffffff">
<IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
 <TD valign="top" width="100%">

<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>

<center><font class="NArialW">System Job Schedule</FONT></center><br>

<html:form name="systemJobSetupForm" method="post" action="/systemJobSetup" type="com.scalar.chiptrack.users.forms.SystemJobSetupForm">
    <table width="100%" align=center border="0" cellpadding='0' cellspacing=2 width="100%">
        <tr><td colspan="3"><chiptrack:info styleClass="NArialL" />&nbsp;</td></tr>
        <tr><td colspan=3><chiptrack:errors styleClass="NArialL" />
          <Strong>
            <font face="Verdana" size="-5" align="center" color="#ff0000" id="message"></font>
          </strong>
        </td></tr>

        <nested:nest property="job" >
        <nested:hidden name="job" property="id"/>
        <nested:hidden name="job" property="jobName"/>
    	<tr height="25">
            <td width="10%">&nbsp;</td>
	   		<td width="17%"><font class="NArialL">Job Name :&nbsp;</font></td>
       		<td width="73%"><font class="NArialL"><input type=text disabled="disabled" name="jobNameDis" Class="txfield" value="<nested:write name="job" property="jobName" />"  size="30"></font></td>
    	</tr>
    	<tr height="25">
            <td width="10%">&nbsp;</td>
	   		<td width="17%"><font class="NArialL">Handler :&nbsp;</font></td>
       		<td width="73%"><font class="NArialL"><nested:text name="job" property="handler"  styleClass="txfield" disabled="true" size="70" maxlength="200" /></font></td>
    	</tr>

        <tr>
            <td width="10%">&nbsp;</td>
            <td width="17%"><font class="NArialL">Start Date :&nbsp;<font color=red>*</font></font></td>
            <td width="73%"><nested:text  name="job" property="startDate" size="11" maxlength='10' styleClass="txfield"/>&nbsp;
                <a href="javascript:openCalendar(document.systemJobSetupForm['job.startDate'])">
                <img onMouseOver="window.status='Click here to select date';return true" onmouseout="window.status='';return true"border="0" align='center' src="<%=chipTracContext%>/jsp/includes/images/date_selector.gif" height=20 width=20></a>
            </td>
        </tr>

        <tr>
            <td width="10%">&nbsp;</td>
            <td width="17%"><font class="NArialL">End Date :&nbsp;</font></td>
            <td width="73%"><nested:text name="job" property="endDate" size="11" maxlength='10' styleClass="txfield"/>&nbsp;
                <a href="javascript:openCalendar(document.systemJobSetupForm['job.endDate'])">
                <img onMouseOver="window.status='Click here to select date';return true"onmouseout="window.status='';return true" border="0" align='center' src="<%=chipTracContext%>/jsp/includes/images/date_selector.gif" height=20 width=20></a></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
            <td width="10%">&nbsp;</td>
            <td colspan="2" class='NArialL' bgcolor='#D1D1D1'>
                <nested:radio property="occurs" value="Daily" onclick="javascript:occursValidation(0);"/> <font class="NArialL">Daily </font>
            </td>
        </tr>

        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td colspan="2" bgcolor="#DEE1E2" ID='head0'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class="NArialL">Every&nbsp;&nbsp;
                <nested:select name="job" property="everyDaily" styleClass="txfield">
                <html:options collection="everyCollection" property="value"
                           labelProperty="label"/>
                </nested:select>&nbsp;day(s).</font>
            </td>
        </tr>

        <tr>
            <td width="10%">&nbsp;</td>
            <td colspan="2" class='NArialL' bgcolor='#D1D1D1'>
                <nested:radio property="occurs" value="Weekly" onclick="javascript:occursValidation(1);"/> <font class="NArialL">Weekly </font>
            </td>
        </tr>

        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td colspan="2" bgcolor="#DEE1E2" ID='head0'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class="NArialL">Every&nbsp;&nbsp;
                <nested:select name="job" property="everyWeekly" styleClass="txfield">
                <html:options collection="everyWeekCollection" property="value"
                           labelProperty="label"/>
                </nested:select>&nbsp;week(s) on:&nbsp;&nbsp;&nbsp;&nbsp;
             <logic:iterate name="systemJobSetupForm" id="weekDays" property="weekDays">
                <font class="NArialL">
                <nested:multibox name="job" property="selectedWeekDays" styleClass="txfield" >
                    <bean:write name="weekDays" />
                </nested:multibox>
                <bean:write name="weekDays" /> &nbsp;&nbsp;&nbsp;&nbsp;
                </font>
             </logic:iterate>
                </font>
            </td>
        </tr>

        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td colspan="2"  class='NArialL' bgcolor='#D1D1D1'>
                <nested:radio property="occurs" value="Monthly" onclick="javascript:occursValidation(1);"/> <font class="NArialL">Monthly</font>
            </td>
        </tr>
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td colspan="2" bgcolor="#DEE1E2" ID='head0'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class="NArialL">Day&nbsp;&nbsp;
                <nested:select name="job" property="everyDay" styleClass="txfield">
                <html:options collection="dayCollection" property="value"
                           labelProperty="label"/>
                </nested:select>&nbsp;of every&nbsp;
                <nested:select name="job" property="everyMonthly" styleClass="txfield">
                <html:options collection="everyMonthCollection" property="value"
                           labelProperty="label"/>
                </nested:select>&nbsp;months:</font>
            </td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td width="17%"><font class="NArialL">Schedule Time :&nbsp;</font></td>
            <td width="73%">
                <nested:select name="job" property="scheduleTime" styleClass="txfield">
                <html:options collection="scheduleTimes" property="value"
                           labelProperty="label"/>
                </nested:select>

                <nested:select name="job" property="scheduleMinute" styleClass="txfield">
                <html:options collection="scheduleMinutes" property="value"
                           labelProperty="label"/>
                </nested:select>
                <nested:select property="amPm" styleClass="txfield">
                <html:options collection="ampm" property="value"
                           labelProperty="label"/>
                </nested:select>
            </td>
        </tr>
       <tr><td>&nbsp;</td></tr>
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td colspan="2"><nested:checkbox name="job" property="repeatTask" styleClass="txfield" onclick ="javascript:validateRepeatTask()" /><font class="NArialL">&nbsp;&nbsp;Repeat Task</font></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td width="17%"><font class="NArialL">Frequency :&nbsp;</font></td>
            <td width="73%">
            	<font class="NArialL">
            		<nested:text name="job" property="frequencyInHours" size="7" maxlength="3" styleClass="valuetxfield" />&nbsp;&nbsp;&nbsp;in Hrs.
            		<nested:text name="job" property="frequencyInMinutes" size="7" maxlength="3" styleClass="valuetxfield" />&nbsp;&nbsp;&nbsp;in Mins.
            	</font>
            </td>
        </tr>
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td width="17%"><font class="NArialL">Email Notification :&nbsp;</font></td>
            <td width="73%"><font class="NArialL"><nested:text name="job" property="emails"  styleClass="txfield" size="40" maxlength='100' /></font>
                            <font class="NArialL">&nbsp; &nbsp;&nbsp;<a styleClass="leftsection" href="javascript:showUsersMailIds()" onmouseover="window.status='Click to show Users MailIds';return true" onmouseout="window.status='';return true">click here</a>&nbsp;&nbsp;to select User's MailIds</font></td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <nested:equal property="handler" value="<%=Constants.REPORTS_JOB_HANDLER_CLASS%>">
        <tr height="25">
            <td width="10%">&nbsp;</td>
            <td width="73%" colspan="2" align="left"><font class="NArialL"><a href="javascript:showJobEmailUsers()" onmouseover="window.status='Click to show Users MailIds';return true" onmouseout="window.status='';return true">click here</a>&nbsp;&nbsp;to select Users to send Report Email.</font></td>
        </tr>
        <tr>
                <td width="10%">&nbsp;</td>
                <td colspan="2" class='NArialL'> FTP URL : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<nested:text name="job" property="ftpUrl"  styleClass="txfield" size="30" maxlength="200"/>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Directory : &nbsp;&nbsp;<nested:text property="directory" name="job" styleClass="txfield" size="30" maxlength="50"/></td>
            </tr>
            <tr>
                <td width="10%">&nbsp;</td>
                <td colspan="2" class='NArialL'> User Name : &nbsp;<nested:text property="userName" name="job" size="30" styleClass="txfield" maxlength="50"/>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Password : &nbsp; <nested:text property="password" name="job" styleClass="txfield" size="30" maxlength="50"/></td>
            </tr>
            <tr>
                <td width="10%">&nbsp;</td>
                <td colspan="2" class='NArialL'> FTP Connection Mode : &nbsp;
                    <nested:select property="connectionMode" name="job" styleClass="txfield">
                    <html:option value="ACTIVE">ACTIVE</html:option>
                    <html:option value="PASV">PASV</html:option>
                    </nested:select>
                </td>
            </tr>
        </nested:equal>
        <tr><td colspan="3"><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10></td></tr>
        </table>
        <table width="100%" border="0">
        <tr><td colspan="3">&nbsp;</td></tr>
        <tr>
            <td width="40%">&nbsp;</td>
            <td width="20%" align=center>
            <a href="javascript:saveJobSchedule();"><img border="0" src="<%=chipTracContext%>/jsp/includes/images/save.gif" width="53" height="17" onmouseover="window.status='Click to Save Job Scheduling';return true" onmouseout="window.status='';return true" title="Click here to Save Job Scheduling"></a>
            &nbsp;<a href="<%=chipTracContext%>/systemJobSetup.do"><img border="0" src="<%=chipTracContext%>/jsp/includes/images/cancel.gif" width="53" height="17"onmouseover="window.status='Click to Cancel Job Scheduling';return true" onmouseout="window.status='';return true" title="Click here to Cancel Job Scheduling"></a>
            </td>
            <td width="40%">&nbsp;</td>
        </tr>
        </nested:nest>
</table>

 </html:form>
<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>

<!-- Footer starts here -->
<%@include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->

</BODY>
</HTML>
